package org.example.controller;
import org.example.util.file.FileUtil;
import org.example.util.log.Logac;
import org.example.util.video.VideoMp4Util;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.List;

public class Test {
    public static void main(String[] args) {
        String out="H:\\短视频工作目录\\视频列表";
        List<String> allDGFiles = FileUtil.getAllDGFiles("H:\\短视频工作目录\\文字语音列表");
        for (String allDGFile : allDGFiles) {
            String fileName = FileUtil.getFileName(allDGFile);
            String substring = fileName.substring(0, fileName.length() - 4);
            if (FileUtil.isFileExists(out+"\\"+substring+".mp4")) {

            }else {
                System.out.println(fileName);
            }

        }
    }




}
